import Layout from '@/layout'

export default {
  path: '/attendances',
  component: Layout,
  children: [
    {
      path: '', // 为空 默认加载
      component: () => import('@/views/attendances/attendances.vue'),
      meta: { title: '考勤', icon: 'bug' }
    },
    {
      // 路由上传参
      path: 'detail/:id',
      component: () => import('@/views/attendances/detail.vue'),
      name: 'employeesDetail',
      hidden: true
    }
  ]
}
